nigeria 's independent national electoral commission attention '' to curbing violence in the northeast part of nigeria `` buhari defeated incumbent goodluck jonathan by about 2 million votes .
win comes after a long history of military rule , coups and botched attempts at democracy .